﻿<?xml version="1.0" encoding="utf-8" ?> 
<!DOCTYPE BuildingTypes [
  <!ELEMENT BuildingTypes (BuildingType*)>
  <!ELEMENT BuildingType (BuildingLevel+)>
  <!ATTLIST BuildingType
    IsDefault (true|false) #REQUIRED
    Consumes CDATA #IMPLIED
    Produces CDATA #IMPLIED
    ProductionType (None|Cargo|Hammers|Crosses|Bells) #REQUIRED
  >
  <!ELEMENT BuildingLevel EMPTY >
  <!ATTLIST BuildingLevel
    Name CDATA #REQUIRED
    HammersCost NMTOKEN #REQUIRED
    ToolsCost NMTOKEN #REQUIRED
  >
]>
<BuildingTypes>
  <BuildingType IsDefault="false" Consumes="Tools" Produces="Muskets" ProductionType="Cargo">
    <BuildingLevel Name="Armory" HammersCost="52" ToolsCost="0"/>
    <BuildingLevel Name="Magazine" HammersCost="120" ToolsCost="50"/>
    <BuildingLevel Name="Arsenal" HammersCost="240" ToolsCost="100"/>
  </BuildingType>
  <BuildingType IsDefault="true" Consumes="Ore" Produces="Tools" ProductionType="Cargo">
    <BuildingLevel Name="Blacksmith's House" HammersCost="0" ToolsCost="0" />
    <BuildingLevel Name="Blacksmith's Shop" HammersCost="64" ToolsCost="20" />
    <BuildingLevel Name="Iron Works" HammersCost="240" ToolsCost="100"/>
  </BuildingType>
  <BuildingType IsDefault="true" Consumes="Lumber" ProductionType="Hammers">
    <BuildingLevel Name="Carpenter's Shop" HammersCost="0" ToolsCost="0"/>
    <BuildingLevel Name="Lumber Mill" HammersCost="52" ToolsCost="0" />
  </BuildingType>
  <BuildingType IsDefault="false" ProductionType="Crosses">
    <BuildingLevel Name="Church" HammersCost="64" ToolsCost="0"/>
    <BuildingLevel Name="Cathedral" HammersCost="176" ToolsCost="100"/>
  </BuildingType>
  <BuildingType IsDefault="true" Consumes="Tobacco" Produces="Cigars" ProductionType="Cargo">
    <BuildingLevel Name="Tobacconist's House" HammersCost="0" ToolsCost="0"/>
    <BuildingLevel Name="Tobacconist's Shop" HammersCost="64" ToolsCost="20"/>
    <BuildingLevel Name="Cigar Factory" HammersCost="160" ToolsCost="100"/>
  </BuildingType>
  <BuildingType IsDefault="false" ProductionType="None">
    <BuildingLevel Name="Schoolhouse" HammersCost="64" ToolsCost="0"/>
    <BuildingLevel Name="College" HammersCost="160" ToolsCost="50" />
    <BuildingLevel Name="University" HammersCost="200" ToolsCost="100"/>
  </BuildingType>
  <BuildingType IsDefault="false" ProductionType="None">
    <BuildingLevel Name="Custom house" HammersCost="160" ToolsCost="50"/>
  </BuildingType>
  <BuildingType IsDefault="false" ProductionType="None">
    <BuildingLevel Name="Docks" HammersCost="52" ToolsCost="0"/>
    <BuildingLevel Name="Drydocks" HammersCost="80" ToolsCost="50"/>
    <BuildingLevel Name="Shipyard" HammersCost="240" ToolsCost="100"/>
  </BuildingType>
  <BuildingType IsDefault="false" ProductionType="None">
    <BuildingLevel Name="Stockade" HammersCost="64" ToolsCost="0" />
    <BuildingLevel Name="Fort" HammersCost="120" ToolsCost="100"/>
    <BuildingLevel Name="Fortress" HammersCost="320" ToolsCost="200"/>
  </BuildingType>
  <BuildingType IsDefault="true" Consumes="Furs" Produces="Coats" ProductionType="Cargo">
    <BuildingLevel Name="Fur Trader's House" HammersCost="0" ToolsCost="0" />
    <BuildingLevel Name="Fur Trading Post" HammersCost="56" ToolsCost="20" />
    <BuildingLevel Name="Fur Factory" HammersCost="160" ToolsCost="100" />
  </BuildingType>
  <BuildingType IsDefault="false" ProductionType="None">
    <BuildingLevel Name="Printing Press" HammersCost="52" ToolsCost="20"/>
    <BuildingLevel Name="Newspaper" HammersCost="120" ToolsCost="50"/>
  </BuildingType>
  <BuildingType IsDefault="true" Consumes="Sugar" Produces="Rum" ProductionType="Cargo">
    <BuildingLevel Name="Rum Distiller's House" HammersCost="0" ToolsCost="0"/>
    <BuildingLevel Name="Rum Distillery" HammersCost="64" ToolsCost="20"/>
    <BuildingLevel Name="Rum Factory" HammersCost="160" ToolsCost="100"/>
  </BuildingType>
  <BuildingType IsDefault="false" ProductionType="None">
    <BuildingLevel Name="Stable" HammersCost="64" ToolsCost="0"/>
  </BuildingType>
  <BuildingType IsDefault="true" Consumes="Cotton" Produces="Cloth" ProductionType="Cargo">
    <BuildingLevel Name="Weaver's House" HammersCost="0" ToolsCost="0"/>
    <BuildingLevel Name="Weaver's Shop" HammersCost="64" ToolsCost="20"/>
    <BuildingLevel Name="Textile Mill" HammersCost="160" ToolsCost="100"/>
  </BuildingType>
  <BuildingType IsDefault="false" ProductionType="None">
    <BuildingLevel Name="Warehouse" HammersCost="80" ToolsCost="0"/>
    <BuildingLevel Name="Warehouse Expansion" HammersCost="80" ToolsCost="20"/>
  </BuildingType>
  <BuildingType IsDefault="true" ProductionType="Bells">
    <BuildingLevel Name="Town Hall" HammersCost="0" ToolsCost="0"/>
  </BuildingType>
</BuildingTypes>
